#include <bits/stdc++.h>
using namespace std;

long long n;
int main() {
    cin >> n;
    n = pow(2, n);
    cout << n;
    return 0;
}